package com.rcnie.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("dish")
public class Dish {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;

    private Integer userDishScore;
    private String image;
    private String location;

    @TableField(value = "category_id")
    private String categoryId;

    @TableField(value = "average_score")
    private String averageScore;

    @TableField(value = "number_people")
    private String numberPeople;

//    @TableField(value = "create_time",fill= FieldFill.INSERT)
    private String createTime;

//    @TableField(value = "update_time",fill= FieldFill.INSERT_UPDATE)
    private String updateTime;

//    @TableField(value="create_user",fill= FieldFill.INSERT)
    private String createUser;

//    @TableField(value = "update_user",fill= FieldFill.INSERT_UPDATE)
    private String updateUser;

}
